﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Qplus.beans
{
    public class Room
    {
        private long roomid;
        private static Room instance;
        private static Room currentRoom;
        public Room()
        {
            isInroom = false;
        }

        public static Room Instance
        {
            get
            {
                if (null == instance)
                    instance = new Room();
                return instance;
            }
        }

        public static Room CurrentRoomInstance
        {
            get
            {
                if (null == currentRoom)
                    currentRoom = new Room();
                return currentRoom;
            }
            set { currentRoom = value; }
        }
        public static bool isInroom { get; set; }
        public long RoomID { get; set; }
        public string RoomName { get; set; }
        public int RoomLevel { get; set; }
        public int UserCount { get; set; }
        public int UpperLimit { get; set; }
        public int RoomHeadType { get; set; }
        public string RoomHeadValue { get; set; }
        public int RoomHeat { get; set; }
        public int RoomPoint { get; set; }
    }
}
